import axios from "../axios.ts";
export function login(username:string, password:string) {
    let params = new URLSearchParams();
    params.append("username", username);
    params.append("password", password);
    return axios.get("/user/login",{
        params
    })
}